﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MailNuevo.aspx.cs" Inherits="ProyectoLab4.MailNuevo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 126px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1"  bgcolor="#0072C6">
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    <asp:Button ID="btnEnviar" runat="server" ForeColor="White" 
                        onclick="btnEnviar_Click" Text="Enviar" BackColor="#0099CC" 
                        BorderColor="Red" />
                    <asp:Button ID="btnGuardarBorrador" runat="server" ForeColor="White" 
                        onclick="btnGuardarBorrador_Click" Text="Guardar en Borradores" 
                        BackColor="#0099CC" BorderColor="Red" />
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label2" runat="server" ForeColor="White" Text="Destinatario: "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtDestinatario" runat="server" Width="180px"></asp:TextBox>
                &nbsp;
                    <asp:Label ID="lblErrorDestinatario" runat="server" ForeColor="Red" 
                        Text="El destinatario es inválido!" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label3" runat="server" ForeColor="White" Text="Asunto: "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtAsunto" runat="server" Width="180px"></asp:TextBox>
                &nbsp;
                    <asp:Label ID="lblErrorAsunto" runat="server" ForeColor="Red" 
                        Text="El asunto es inválido!" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    <asp:Label ID="Label4" runat="server" ForeColor="White" Text="Mensaje: "></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtMensaje" runat="server" Height="120px" Width="394px" 
                        TextMode="MultiLine"></asp:TextBox>
                    <asp:TextBox ID="txtUsuario" runat="server" Height="0px" MaxLength="50" 
                        Visible="False" Width="0px"></asp:TextBox>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
